package com.entity.vo;

import com.entity.YouxiushijiEntity;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * 优秀事迹栏目
 * 手机端接口返回实体辅助类
 * （主要作用去除一些不必要的字段）
 */
@TableName("youxiushiji")
public class YouxiushijiVO implements Serializable {
    private static final long serialVersionUID = 1L;


    /**
     * 主键
     */

    @TableField(value = "id")
    private Integer id;


    /**
     * 标题
     */

    @TableField(value = "youxiushiji_name")
    private String youxiushijiName;


    /**
     * 相关人物
     */

    @TableField(value = "youxiushiji_renwu")
    private String youxiushijiRenwu;


    /**
     * 事迹类型
     */

    @TableField(value = "youxiushiji_types")
    private Integer youxiushijiTypes;


    /**
     * 图片
     */

    @TableField(value = "youxiushiji_photo")
    private String youxiushijiPhoto;


    /**
     * 详情
     */

    @TableField(value = "youxiushiji_content")
    private String youxiushijiContent;


    /**
     * 创建时间
     */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat

    @TableField(value = "create_time")
    private Date createTime;


    /**
	 * 设置：主键
	 */
    public Integer getId() {
        return id;
    }


    /**
	 * 获取：主键
	 */

    public void setId(Integer id) {
        this.id = id;
    }
    /**
	 * 设置：标题
	 */
    public String getYouxiushijiName() {
        return youxiushijiName;
    }


    /**
	 * 获取：标题
	 */

    public void setYouxiushijiName(String youxiushijiName) {
        this.youxiushijiName = youxiushijiName;
    }
    /**
	 * 设置：相关人物
	 */
    public String getYouxiushijiRenwu() {
        return youxiushijiRenwu;
    }


    /**
	 * 获取：相关人物
	 */

    public void setYouxiushijiRenwu(String youxiushijiRenwu) {
        this.youxiushijiRenwu = youxiushijiRenwu;
    }
    /**
	 * 设置：事迹类型
	 */
    public Integer getYouxiushijiTypes() {
        return youxiushijiTypes;
    }


    /**
	 * 获取：事迹类型
	 */

    public void setYouxiushijiTypes(Integer youxiushijiTypes) {
        this.youxiushijiTypes = youxiushijiTypes;
    }
    /**
	 * 设置：图片
	 */
    public String getYouxiushijiPhoto() {
        return youxiushijiPhoto;
    }


    /**
	 * 获取：图片
	 */

    public void setYouxiushijiPhoto(String youxiushijiPhoto) {
        this.youxiushijiPhoto = youxiushijiPhoto;
    }
    /**
	 * 设置：详情
	 */
    public String getYouxiushijiContent() {
        return youxiushijiContent;
    }


    /**
	 * 获取：详情
	 */

    public void setYouxiushijiContent(String youxiushijiContent) {
        this.youxiushijiContent = youxiushijiContent;
    }
    /**
	 * 设置：创建时间
	 */
    public Date getCreateTime() {
        return createTime;
    }


    /**
	 * 获取：创建时间
	 */

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

}
